package com.blb.service.impl;

import com.blb.mapper.IndexMapper;
import com.blb.service.IndexService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class IndexServiceImpl implements IndexService {

    @Resource
    private IndexMapper indexMapper;

    @Override
    public int getHandoverList(String companyId) {
        return indexMapper.getHandoverList(companyId);
    }

    @Override
    public int getStockWarning(String companyId) {
        return indexMapper.getStockWarning(companyId);
    }
}
